package com.hzhr.iot.collect.sdk.model;

import io.swagger.annotations.ApiModel;

import java.util.Map;

@ApiModel(value="ReceiveCommandModel",description="接收指令对象")
public class ReceiveCommandModel {
	private String notifyType;//响应类型
	private String deviceId;
	private String requestId;
	private Service service;
	private String eventTime;
	private Map<String, String> socketServiceData;
	
	
	public String getNotifyType() {
		return notifyType;
	}


	public void setNotifyType(String notifyType) {
		this.notifyType = notifyType;
	}


	public String getDeviceId() {
		return deviceId;
	}


	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}


	public String getRequestId() {
		return requestId;
	}


	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}


	public Service getService() {
		return service;
	}


	public void setService(Service service) {
		this.service = service;
	}


	public String getEventTime() {
		return eventTime;
	}


	public void setEventTime(String eventTime) {
		this.eventTime = eventTime;
	}

	public Map<String, String> getSocketServiceData() {
		return socketServiceData;
	}

	public void setSocketServiceData(Map<String, String> socketServiceData) {
		this.socketServiceData = socketServiceData;
	}

	public static class Service {
		private String serviceId;
		private String serviceType;
		private Data data;
		
		public String getServiceId() {
			return serviceId;
		}

		public void setServiceId(String serviceId) {
			this.serviceId = serviceId;
		}

		public String getServiceType() {
			return serviceType;
		}

		public void setServiceType(String serviceType) {
			this.serviceType = serviceType;
		}

		public Data getData() {
			return data;
		}

		public void setData(Data data) {
			this.data = data;
		}

		public static class Data {
			private String data;

			public String getData() {
				return data;
			}

			public void setData(String data) {
				this.data = data;
			}

		}
	}
}

